package org.dce.screencapturer.actions.objects;

import javax.swing.Icon;

import org.dce.screencapturer.objects.DrawingObject;
import org.dce.screencapturer.objects.ShapeObject;

@SuppressWarnings("serial")
public abstract class TextAttributeAction 
	extends ObjectAction {

	protected TextAttributeAction(String category, String actionId, Icon icon) {
		super(category, actionId, icon);
	}

	@Override
	protected boolean acceptObject(DrawingObject anObject) {
		return anObject instanceof ShapeObject;
	}

}
